/**
 *
 * @author Bora SAYINER
 * @since Dec 6, 2014 11:42:42 AM
 * @version 1.0
 */
public final class Calculator {

	private Calculator() {

	}

	public static int addition(int x, int y) {
		return x + y;
	}

	public static int subtraction(int x, int y) {
		return x - y;
	}

	public static int multiply(int x, int y) {
		return x * y;
	}

	public static float divide(int x, int y) {
		return (float)x / y;
	}

	public static int square(int x) {
		return pow(x, 2);
	}
	
	public static int pow(int x, int y) {
		return (int) Math.pow(x, y);
	}
}
